package com.tarena.luban.demo.all.adapter;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootConfiguration
@EnableAutoConfiguration
@ComponentScan(
        basePackages =
                {"com.tarena.luban.demo.all","com.tarena.luban.commons.exception"}
)
@EnableDubbo
public class AllApplication {
    public static void main(String[] args) {

        SpringApplication.run(AllApplication.class, args);
    }
}
